package com.bear.cmcc.NetTestHTTP.component;

import com.bear.cmcc.NetTestHTTP.util.MyCommonUtil;

/**
 * 网络测试小区类
 * @author guanyh
 */
public class NetTestCellInfoBean {
	private int pid;//pid
    private double averageSpeed;//平均速度
    private double maxSpeed;//最大速度
    private double minSpeed;//最小速度
    private int lac;//lac
    private int ci;//ci
    private String cellName;//小区中文名
    private int maxNetStrong;//最大信号强度
    private int minNetStrong;//最小信号强度
    private int timesID;//小区中文名
    private String isDelete;//是否删除0为正常，1为删除
    
    public void setPID(int _str)
	{
		this.pid = _str;
	}
	public int getPID()
	{
		return pid;
	}
	
	public void setAverageSpeed(double _str)
	{
		this.averageSpeed = _str;
	}
	public double getAverageSpeed()
	{
		try
		{
			return Double.valueOf(MyCommonUtil.getFormatString(averageSpeed));
		}catch(Exception e)
		{
			return 0;
		}
	}
	
	public void setMaxSpeed(double _str)
	{
		this.maxSpeed = _str;
	}
	public double getMaxSpeed()
	{
		try
		{
			return Double.valueOf(MyCommonUtil.getFormatString(maxSpeed));
		}catch(Exception e)
		{
			return 0;
		}
	}
	
	public void setMinSpeed(double _str)
	{
		this.minSpeed = _str;
	}
	public double getMinSpeed()
	{
		try
		{
			return Double.valueOf(MyCommonUtil.getFormatString(minSpeed));
		}catch(Exception e)
		{
			return 0;
		}
	}
	
	public void setLac(int _str)
	{
		this.lac = _str;
	}
	public int getLac()
	{
		return lac;
	}
	
	public void setCi(int _str)
	{
		this.ci = _str;
	}
	public int getCi()
	{
		return ci;
	}
	
	public void setCellName(String _str)
	{
		this.cellName = _str;
	}
	public String getCellName()
	{
		return cellName;
	}
	
	public void setMaxNetStrong(int _str)
	{
		this.maxNetStrong = _str;
	}
	public int getMaxNetStrong()
	{
		return maxNetStrong;
	}
	
	public void setMinNetStrong(int _str)
	{
		this.minNetStrong = _str;
	}
	public int getMinNetStrong()
	{
		return minNetStrong;
	}
	
	public void setTimesID(int _str)
	{
		this.timesID = _str;
	}
	public int getTimesID()
	{
		return timesID;
	}
	
	public void setIsDelete(String _str)
   	{
   		this.isDelete = _str;
   	}
   	public String getIsDelete()
   	{
   		return isDelete;
   	}
	
}
